while (b != 0) {            //进位值为0就可以结束了
    const carry = (a & b) << 1;  //只考虑进位值
    a = a ^ b;        //不考虑进位
    b = carry;
}
return a;

